#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

void Print(int* arr, int sz)
{
	for (int i = 0; i < sz; ++i)
	{
		printf("%d ", *(arr + i));
	}
	printf("\n");
}


int main()
{
	int arr[] = { 1,2,3,4,5,6,7,8,9 };
	Print(arr, (int)(sizeof(arr)/sizeof(arr[0])));

	return 0;
}